package com.sghj.pageviews.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sghj.pageviews.entity.SysAccessLog;

/**
 * <p>
 * 日志记录表 Mapper 接口
 * </p>
 *
 * @author zk
 * @since 2022-02-07
 */
public interface SysAccessLogMapper extends BaseMapper<SysAccessLog> {

    //查询
    int getSumpageviews();//获取总访问量
    int getYearpageviews(String nowyear);//获取当年访问量
    int getDaypageviews(String nowday);//获取当日访问量
}
